import { request } from './config.js';

// 获取展览列表
export const getExhibitionList = (params) => {
    return request({
        url: '/exhibition/list',
        method: 'GET',
        data: params
    });
};

// 获取展览详情
export const getExhibitionDetail = (id) => {
    return request({
        url: `/exhibition/detail/${id}`,
        method: 'GET'
    });
};

// 获取展览图片列表
export const getExhibitionImages = (exhibitionId) => {
    return request({
        url: `/exhibition/images/${exhibitionId}`,
        method: 'GET'
    });
}; 